package com.zb.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 后台工单列表排序字段表
 * </p>
 *
 * @author WEN
 * @since 2024-01-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ZjAdmOrderByField对象", description="后台工单列表排序字段表")
public class ZjAdmOrderByField implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主健ID")
    private Long id;

    @ApiModelProperty(value = "排序字段类型：1-全部工单，2-待派单，3-待服务商确认，4-处理中，5-结单审核，6-已完成，7-已作废")
    private Integer type;

    @ApiModelProperty(value = "排序字段：1-更新时间，2-创建时间，3-完成时间，4-取消时间")
    private Integer orderByField;

    @ApiModelProperty(value = "排序：1-升序，2-倒序")
    private Integer orderBy;

    @ApiModelProperty(value = "是否禁用：0-否，1-是")
    @TableField("is_disabled")
    private Boolean disabled;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtUpdate;

}
